package cn.zw.design.order.formal;

public class Tv {
	
	private int curchannel = 1;
	
	public  void  on(){
		System.out.println("Turn the tv on");
	}

	public void off(){
		System.out.println("Turn the tv off");
	}
	
	public  void changeChannel(int channel){
		this.curchannel = channel;
		System.out.println("Now channel is :"+curchannel);
		
	}

}
